﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SweetSQL.Data;

namespace SweetSQL.Samples.Crud.Business
{
    [Table(Name = "Employees")]
    public sealed class Employee
    {
        [Column(IsPrimaryKey = true)]
        public Guid ID
        {
            get;
            set;
        }

        [Column]
        public string Name
        {
            get;
            set;
        }

        [Column]
        public int Number
        {
            get;
            set;
        }
    }

    [Table(Name = "Employees")]
    public sealed class ExcelEmployee
    {
        [Column(DataType = "STRING")]
        public Guid ID
        {
            get;
            set;
        }

        [Column(DataType = "STRING")]
        public string Name
        {
            get;
            set;
        }

        [Column(DataType = "STRING")]
        public int Number
        {
            get;
            set;
        }
    }
}
